package com.ruoyi.employee.controller;

import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.employee.service.BuildingblockService;
import com.ruoyi.employee.service.TbEmployeeBuildingblockService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/buding/")
public class BuildingblockController {
        @Autowired
        private BuildingblockService buildingblockService;
        @GetMapping("findallbuding")
        public AjaxResult findallbuding() {
            return AjaxResult.success(buildingblockService.list());
        }
}
